package com.sf.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 专业市场基本信息表Example类
 * @author 604625
 * 
 */
public class ProMarketBaseExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public ProMarketBaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andMktIdIsNull() {
            addCriterion("MKT_ID is null");
            return (Criteria) this;
        }

        public Criteria andMktIdIsNotNull() {
            addCriterion("MKT_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMktIdEqualTo(String value) {
            addCriterion("MKT_ID =", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotEqualTo(String value) {
            addCriterion("MKT_ID <>", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdGreaterThan(String value) {
            addCriterion("MKT_ID >", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdGreaterThanOrEqualTo(String value) {
            addCriterion("MKT_ID >=", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLessThan(String value) {
            addCriterion("MKT_ID <", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLessThanOrEqualTo(String value) {
            addCriterion("MKT_ID <=", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdLike(String value) {
            addCriterion("MKT_ID like", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotLike(String value) {
            addCriterion("MKT_ID not like", value, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdIn(List<String> values) {
            addCriterion("MKT_ID in", values, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotIn(List<String> values) {
            addCriterion("MKT_ID not in", values, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdBetween(String value1, String value2) {
            addCriterion("MKT_ID between", value1, value2, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktIdNotBetween(String value1, String value2) {
            addCriterion("MKT_ID not between", value1, value2, "mktId");
            return (Criteria) this;
        }

        public Criteria andMktNameShowIsNull() {
            addCriterion("MKT_NAME_SHOW is null");
            return (Criteria) this;
        }

        public Criteria andMktNameShowIsNotNull() {
            addCriterion("MKT_NAME_SHOW is not null");
            return (Criteria) this;
        }

        public Criteria andMktNameShowEqualTo(String value) {
            addCriterion("MKT_NAME_SHOW =", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowNotEqualTo(String value) {
            addCriterion("MKT_NAME_SHOW <>", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowGreaterThan(String value) {
            addCriterion("MKT_NAME_SHOW >", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowGreaterThanOrEqualTo(String value) {
            addCriterion("MKT_NAME_SHOW >=", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowLessThan(String value) {
            addCriterion("MKT_NAME_SHOW <", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowLessThanOrEqualTo(String value) {
            addCriterion("MKT_NAME_SHOW <=", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowLike(String value) {
            addCriterion("MKT_NAME_SHOW like", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowNotLike(String value) {
            addCriterion("MKT_NAME_SHOW not like", value, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowIn(List<String> values) {
            addCriterion("MKT_NAME_SHOW in", values, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowNotIn(List<String> values) {
            addCriterion("MKT_NAME_SHOW not in", values, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowBetween(String value1, String value2) {
            addCriterion("MKT_NAME_SHOW between", value1, value2, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andMktNameShowNotBetween(String value1, String value2) {
            addCriterion("MKT_NAME_SHOW not between", value1, value2, "mktNameShow");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesIsNull() {
            addCriterion("DAILY_MIN_PACKAGES is null");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesIsNotNull() {
            addCriterion("DAILY_MIN_PACKAGES is not null");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesEqualTo(Short value) {
            addCriterion("DAILY_MIN_PACKAGES =", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesNotEqualTo(Short value) {
            addCriterion("DAILY_MIN_PACKAGES <>", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesGreaterThan(Short value) {
            addCriterion("DAILY_MIN_PACKAGES >", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesGreaterThanOrEqualTo(Short value) {
            addCriterion("DAILY_MIN_PACKAGES >=", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesLessThan(Short value) {
            addCriterion("DAILY_MIN_PACKAGES <", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesLessThanOrEqualTo(Short value) {
            addCriterion("DAILY_MIN_PACKAGES <=", value, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesIn(List<Short> values) {
            addCriterion("DAILY_MIN_PACKAGES in", values, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesNotIn(List<Short> values) {
            addCriterion("DAILY_MIN_PACKAGES not in", values, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesBetween(Short value1, Short value2) {
            addCriterion("DAILY_MIN_PACKAGES between", value1, value2, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andDailyMinPackagesNotBetween(Short value1, Short value2) {
            addCriterion("DAILY_MIN_PACKAGES not between", value1, value2, "dailyMinPackages");
            return (Criteria) this;
        }

        public Criteria andWeightMinIsNull() {
            addCriterion("WEIGHT_MIN is null");
            return (Criteria) this;
        }

        public Criteria andWeightMinIsNotNull() {
            addCriterion("WEIGHT_MIN is not null");
            return (Criteria) this;
        }

        public Criteria andWeightMinEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MIN =", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinNotEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MIN <>", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinGreaterThan(BigDecimal value) {
            addCriterion("WEIGHT_MIN >", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MIN >=", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinLessThan(BigDecimal value) {
            addCriterion("WEIGHT_MIN <", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MIN <=", value, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinIn(List<BigDecimal> values) {
            addCriterion("WEIGHT_MIN in", values, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinNotIn(List<BigDecimal> values) {
            addCriterion("WEIGHT_MIN not in", values, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT_MIN between", value1, value2, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMinNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT_MIN not between", value1, value2, "weightMin");
            return (Criteria) this;
        }

        public Criteria andWeightMaxIsNull() {
            addCriterion("WEIGHT_MAX is null");
            return (Criteria) this;
        }

        public Criteria andWeightMaxIsNotNull() {
            addCriterion("WEIGHT_MAX is not null");
            return (Criteria) this;
        }

        public Criteria andWeightMaxEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MAX =", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxNotEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MAX <>", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxGreaterThan(BigDecimal value) {
            addCriterion("WEIGHT_MAX >", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MAX >=", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxLessThan(BigDecimal value) {
            addCriterion("WEIGHT_MAX <", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("WEIGHT_MAX <=", value, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxIn(List<BigDecimal> values) {
            addCriterion("WEIGHT_MAX in", values, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxNotIn(List<BigDecimal> values) {
            addCriterion("WEIGHT_MAX not in", values, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT_MAX between", value1, value2, "weightMax");
            return (Criteria) this;
        }

        public Criteria andWeightMaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("WEIGHT_MAX not between", value1, value2, "weightMax");
            return (Criteria) this;
        }

        public Criteria andBasePriceIsNull() {
            addCriterion("BASE_PRICE is null");
            return (Criteria) this;
        }

        public Criteria andBasePriceIsNotNull() {
            addCriterion("BASE_PRICE is not null");
            return (Criteria) this;
        }

        public Criteria andBasePriceEqualTo(BigDecimal value) {
            addCriterion("BASE_PRICE =", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceNotEqualTo(BigDecimal value) {
            addCriterion("BASE_PRICE <>", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceGreaterThan(BigDecimal value) {
            addCriterion("BASE_PRICE >", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BASE_PRICE >=", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceLessThan(BigDecimal value) {
            addCriterion("BASE_PRICE <", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BASE_PRICE <=", value, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceIn(List<BigDecimal> values) {
            addCriterion("BASE_PRICE in", values, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceNotIn(List<BigDecimal> values) {
            addCriterion("BASE_PRICE not in", values, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BASE_PRICE between", value1, value2, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBasePriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BASE_PRICE not between", value1, value2, "basePrice");
            return (Criteria) this;
        }

        public Criteria andBaseWeightIsNull() {
            addCriterion("BASE_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andBaseWeightIsNotNull() {
            addCriterion("BASE_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andBaseWeightEqualTo(BigDecimal value) {
            addCriterion("BASE_WEIGHT =", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightNotEqualTo(BigDecimal value) {
            addCriterion("BASE_WEIGHT <>", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightGreaterThan(BigDecimal value) {
            addCriterion("BASE_WEIGHT >", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BASE_WEIGHT >=", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightLessThan(BigDecimal value) {
            addCriterion("BASE_WEIGHT <", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BASE_WEIGHT <=", value, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightIn(List<BigDecimal> values) {
            addCriterion("BASE_WEIGHT in", values, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightNotIn(List<BigDecimal> values) {
            addCriterion("BASE_WEIGHT not in", values, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BASE_WEIGHT between", value1, value2, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andBaseWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BASE_WEIGHT not between", value1, value2, "baseWeight");
            return (Criteria) this;
        }

        public Criteria andGroupLimitIsNull() {
            addCriterion("GROUP_LIMIT is null");
            return (Criteria) this;
        }

        public Criteria andGroupLimitIsNotNull() {
            addCriterion("GROUP_LIMIT is not null");
            return (Criteria) this;
        }

        public Criteria andGroupLimitEqualTo(Short value) {
            addCriterion("GROUP_LIMIT =", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitNotEqualTo(Short value) {
            addCriterion("GROUP_LIMIT <>", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitGreaterThan(Short value) {
            addCriterion("GROUP_LIMIT >", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitGreaterThanOrEqualTo(Short value) {
            addCriterion("GROUP_LIMIT >=", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitLessThan(Short value) {
            addCriterion("GROUP_LIMIT <", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitLessThanOrEqualTo(Short value) {
            addCriterion("GROUP_LIMIT <=", value, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitIn(List<Short> values) {
            addCriterion("GROUP_LIMIT in", values, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitNotIn(List<Short> values) {
            addCriterion("GROUP_LIMIT not in", values, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitBetween(Short value1, Short value2) {
            addCriterion("GROUP_LIMIT between", value1, value2, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupLimitNotBetween(Short value1, Short value2) {
            addCriterion("GROUP_LIMIT not between", value1, value2, "groupLimit");
            return (Criteria) this;
        }

        public Criteria andGroupDurationIsNull() {
            addCriterion("GROUP_DURATION is null");
            return (Criteria) this;
        }

        public Criteria andGroupDurationIsNotNull() {
            addCriterion("GROUP_DURATION is not null");
            return (Criteria) this;
        }

        public Criteria andGroupDurationEqualTo(Byte value) {
            addCriterion("GROUP_DURATION =", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationNotEqualTo(Byte value) {
            addCriterion("GROUP_DURATION <>", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationGreaterThan(Byte value) {
            addCriterion("GROUP_DURATION >", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationGreaterThanOrEqualTo(Byte value) {
            addCriterion("GROUP_DURATION >=", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationLessThan(Byte value) {
            addCriterion("GROUP_DURATION <", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationLessThanOrEqualTo(Byte value) {
            addCriterion("GROUP_DURATION <=", value, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationIn(List<Byte> values) {
            addCriterion("GROUP_DURATION in", values, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationNotIn(List<Byte> values) {
            addCriterion("GROUP_DURATION not in", values, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationBetween(Byte value1, Byte value2) {
            addCriterion("GROUP_DURATION between", value1, value2, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andGroupDurationNotBetween(Byte value1, Byte value2) {
            addCriterion("GROUP_DURATION not between", value1, value2, "groupDuration");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("CREATE_TM is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("CREATE_TM is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("CREATE_TM =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("CREATE_TM <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("CREATE_TM >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TM >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("CREATE_TM <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TM <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("CREATE_TM in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("CREATE_TM not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("CREATE_TM between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TM not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("UPDATE_TM is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("UPDATE_TM is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("UPDATE_TM =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("UPDATE_TM <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("UPDATE_TM >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TM >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("UPDATE_TM <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TM <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("UPDATE_TM in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("UPDATE_TM not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TM between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TM not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andMktIdLikeInsensitive(String value) {
            addCriterion("upper(MKT_ID) like", value.toUpperCase(), "mktId");
            return (Criteria) this;
        }

        public Criteria andMktNameShowLikeInsensitive(String value) {
            addCriterion("upper(MKT_NAME_SHOW) like", value.toUpperCase(), "mktNameShow");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {
        private static final long serialVersionUID = 1L;

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private static final long serialVersionUID = 1L;

        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}